Integrand size = 8, antiderivative size = 117 \[ \int \sqrt {x} \arctan (x) \, dx=-\frac {4 \sqrt {x}}{3}-\frac {1}{3} \sqrt {2} \arctan \left (1-\sqrt {2} \sqrt {x}\right )+\frac {1}{3} \sqrt {2} \arctan \left (1+\sqrt {2} \sqrt {x}\right )+\frac {2}{3} x^{3/2} \arctan (x)-\frac {\log \left (1-\sqrt {2} \sqrt {x}+x\right )}{3 \sqrt {2}}+\frac {\log \left (1+\sqrt {2} \sqrt {x}+x\right )}{3 \sqrt {2}} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 1.125, Rules used = {4946, 327, 335, 217, 1179, 642, 1176, 631, 210} \[ \int \sqrt {x} \arctan (x) \, dx=\frac {2}{3} x^{3/2} \arctan (x)-\frac {1}{3} \sqrt {2} \arctan \left (1-\sqrt {2} \sqrt {x}\right )+\frac {1}{3} \sqrt {2} \arctan \left (\sqrt {2} \sqrt {x}+1\right )-\frac {4 \sqrt {x}}{3}-\frac {\log \left (x-\sqrt {2} \sqrt {x}+1\right )}{3 \sqrt {2}}+\frac {\log \left (x+\sqrt {2} \sqrt {x}+1\right )}{3 \sqrt {2}} \]
[In]
[Out]
Rule 210
Rule 217
Rule 327
Rule 335
Rule 631
Rule 642
Rule 1176
Rule 1179
Rule 4946
Rubi steps \begin{align*} \text {integral}& = \frac {2}{3} x^{3/2} \arctan (x)-\frac {2}{3} \int \frac {x^{3/2}}{1+x^2} \, dx \\ & = -\frac {4 \sqrt {x}}{3}+\frac {2}{3} x^{3/2} \arctan (x)+\frac {2}{3} \int \frac {1}{\sqrt {x} \left (1+x^2\right )} \, dx \\ & = -\frac {4 \sqrt {x}}{3}+\frac {2}{3} x^{3/2} \arctan (x)+\frac {4}{3} \text {Subst}\left (\int \frac {1}{1+x^4} \, dx,x,\sqrt {x}\right ) \\ & = -\frac {4 \sqrt {x}}{3}+\frac {2}{3} x^{3/2} \arctan (x)+\frac {2}{3} \text {Subst}\left (\int \frac {1-x^2}{1+x^4} \, dx,x,\sqrt {x}\right )+\frac {2}{3} \text {Subst}\left (\int \frac {1+x^2}{1+x^4} \, dx,x,\sqrt {x}\right ) \\ & = -\frac {4 \sqrt {x}}{3}+\frac {2}{3} x^{3/2} \arctan (x)+\frac {1}{3} \text {Subst}\left (\int \frac {1}{1-\sqrt {2} x+x^2} \, dx,x,\sqrt {x}\right )+\frac {1}{3} \text {Subst}\left (\int \frac {1}{1+\sqrt {2} x+x^2} \, dx,x,\sqrt {x}\right )-\frac {\text {Subst}\left (\int \frac {\sqrt {2}+2 x}{-1-\sqrt {2} x-x^2} \, dx,x,\sqrt {x}\right )}{3 \sqrt {2}}-\frac {\text {Subst}\left (\int \frac {\sqrt {2}-2 x}{-1+\sqrt {2} x-x^2} \, dx,x,\sqrt {x}\right )}{3 \sqrt {2}} \\ & = -\frac {4 \sqrt {x}}{3}+\frac {2}{3} x^{3/2} \arctan (x)-\frac {\log \left (1-\sqrt {2} \sqrt {x}+x\right )}{3 \sqrt {2}}+\frac {\log \left (1+\sqrt {2} \sqrt {x}+x\right )}{3 \sqrt {2}}+\frac {1}{3} \sqrt {2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt {2} \sqrt {x}\right )-\frac {1}{3} \sqrt {2} \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt {2} \sqrt {x}\right ) \\ & = -\frac {4 \sqrt {x}}{3}-\frac {1}{3} \sqrt {2} \arctan \left (1-\sqrt {2} \sqrt {x}\right )+\frac {1}{3} \sqrt {2} \arctan \left (1+\sqrt {2} \sqrt {x}\right )+\frac {2}{3} x^{3/2} \arctan (x)-\frac {\log \left (1-\sqrt {2} \sqrt {x}+x\right )}{3 \sqrt {2}}+\frac {\log \left (1+\sqrt {2} \sqrt {x}+x\right )}{3 \sqrt {2}} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 108, normalized size of antiderivative = 0.92 \[ \int \sqrt {x} \arctan (x) \, dx=\frac {1}{6} \left (-8 \sqrt {x}-2 \sqrt {2} \arctan \left (1-\sqrt {2} \sqrt {x}\right )+2 \sqrt {2} \arctan \left (1+\sqrt {2} \sqrt {x}\right )+4 x^{3/2} \arctan (x)-\sqrt {2} \log \left (1-\sqrt {2} \sqrt {x}+x\right )+\sqrt {2} \log \left (1+\sqrt {2} \sqrt {x}+x\right )\right ) \]
[In]
[Out]
Time = 0.25 (sec) , antiderivative size = 69, normalized size of antiderivative = 0.59
method | result | size |
derivativedivides | \(\frac {2 x^{\frac {3}{2}} \arctan \left (x \right )}{3}-\frac {4 \sqrt {x}}{3}+\frac {\sqrt {2}\, \left (\ln \left (\frac {1+x +\sqrt {2}\, \sqrt {x}}{1+x -\sqrt {2}\, \sqrt {x}}\right )+2 \arctan \left (1+\sqrt {2}\, \sqrt {x}\right )+2 \arctan \left (-1+\sqrt {2}\, \sqrt {x}\right )\right )}{6}\) | \(69\) |
default | \(\frac {2 x^{\frac {3}{2}} \arctan \left (x \right )}{3}-\frac {4 \sqrt {x}}{3}+\frac {\sqrt {2}\, \left (\ln \left (\frac {1+x +\sqrt {2}\, \sqrt {x}}{1+x -\sqrt {2}\, \sqrt {x}}\right )+2 \arctan \left (1+\sqrt {2}\, \sqrt {x}\right )+2 \arctan \left (-1+\sqrt {2}\, \sqrt {x}\right )\right )}{6}\) | \(69\) |
meijerg | \(-\frac {4 \sqrt {x}}{3}+\frac {\sqrt {x}\, \left (-\frac {\sqrt {2}\, \ln \left (1-\sqrt {2}\, \left (x^{2}\right )^{\frac {1}{4}}+\sqrt {x^{2}}\right )}{2 \left (x^{2}\right )^{\frac {1}{4}}}+\frac {\sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \left (x^{2}\right )^{\frac {1}{4}}}{2-\sqrt {2}\, \left (x^{2}\right )^{\frac {1}{4}}}\right )}{\left (x^{2}\right )^{\frac {1}{4}}}+\frac {\sqrt {2}\, \ln \left (1+\sqrt {2}\, \left (x^{2}\right )^{\frac {1}{4}}+\sqrt {x^{2}}\right )}{2 \left (x^{2}\right )^{\frac {1}{4}}}+\frac {\sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \left (x^{2}\right )^{\frac {1}{4}}}{2+\sqrt {2}\, \left (x^{2}\right )^{\frac {1}{4}}}\right )}{\left (x^{2}\right )^{\frac {1}{4}}}\right )}{3}+\frac {2 x^{\frac {5}{2}} \arctan \left (\sqrt {x^{2}}\right )}{3 \sqrt {x^{2}}}\) | \(152\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.26 (sec) , antiderivative size = 80, normalized size of antiderivative = 0.68 \[ \int \sqrt {x} \arctan (x) \, dx=\frac {2}{3} \, {\left (x \arctan \left (x\right ) - 2\right )} \sqrt {x} + \left (\frac {1}{6} i + \frac {1}{6}\right ) \, \sqrt {2} \log \left (\left (i + 1\right ) \, \sqrt {2} + 2 \, \sqrt {x}\right ) - \left (\frac {1}{6} i - \frac {1}{6}\right ) \, \sqrt {2} \log \left (-\left (i - 1\right ) \, \sqrt {2} + 2 \, \sqrt {x}\right ) + \left (\frac {1}{6} i - \frac {1}{6}\right ) \, \sqrt {2} \log \left (\left (i - 1\right ) \, \sqrt {2} + 2 \, \sqrt {x}\right ) - \left (\frac {1}{6} i + \frac {1}{6}\right ) \, \sqrt {2} \log \left (-\left (i + 1\right ) \, \sqrt {2} + 2 \, \sqrt {x}\right ) \]
[In]
[Out]
Time = 1.95 (sec) , antiderivative size = 110, normalized size of antiderivative = 0.94 \[ \int \sqrt {x} \arctan (x) \, dx=\frac {2 x^{\frac {3}{2}} \operatorname {atan}{\left (x \right )}}{3} - \frac {4 \sqrt {x}}{3} - \frac {\sqrt {2} \log {\left (- 4 \sqrt {2} \sqrt {x} + 4 x + 4 \right )}}{6} + \frac {\sqrt {2} \log {\left (4 \sqrt {2} \sqrt {x} + 4 x + 4 \right )}}{6} + \frac {\sqrt {2} \operatorname {atan}{\left (\sqrt {2} \sqrt {x} - 1 \right )}}{3} + \frac {\sqrt {2} \operatorname {atan}{\left (\sqrt {2} \sqrt {x} + 1 \right )}}{3} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.74 \[ \int \sqrt {x} \arctan (x) \, dx=\frac {2}{3} \, x^{\frac {3}{2}} \arctan \left (x\right ) + \frac {1}{3} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, \sqrt {x}\right )}\right ) + \frac {1}{3} \, \sqrt {2} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, \sqrt {x}\right )}\right ) + \frac {1}{6} \, \sqrt {2} \log \left (\sqrt {2} \sqrt {x} + x + 1\right ) - \frac {1}{6} \, \sqrt {2} \log \left (-\sqrt {2} \sqrt {x} + x + 1\right ) - \frac {4}{3} \, \sqrt {x} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.74 \[ \int \sqrt {x} \arctan (x) \, dx=\frac {2}{3} \, x^{\frac {3}{2}} \arctan \left (x\right ) + \frac {1}{3} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, \sqrt {x}\right )}\right ) + \frac {1}{3} \, \sqrt {2} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, \sqrt {x}\right )}\right ) + \frac {1}{6} \, \sqrt {2} \log \left (\sqrt {2} \sqrt {x} + x + 1\right ) - \frac {1}{6} \, \sqrt {2} \log \left (-\sqrt {2} \sqrt {x} + x + 1\right ) - \frac {4}{3} \, \sqrt {x} \]
[In]
[Out]
Time = 0.36 (sec) , antiderivative size = 49, normalized size of antiderivative = 0.42 \[ \int \sqrt {x} \arctan (x) \, dx=\frac {2\,x^{3/2}\,\mathrm {atan}\left (x\right )}{3}-\frac {4\,\sqrt {x}}{3}+\sqrt {2}\,\mathrm {atan}\left (\sqrt {2}\,\sqrt {x}\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (\frac {1}{3}+\frac {1}{3}{}\mathrm {i}\right )+\sqrt {2}\,\mathrm {atan}\left (\sqrt {2}\,\sqrt {x}\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )\right )\,\left (\frac {1}{3}-\frac {1}{3}{}\mathrm {i}\right ) \]
[In]
[Out]